package com.pride1952.myoptimusx3;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by 鹏 on 2015/8/21.
 */
public class webSite {
    public static final int MAX_ICONS = 7;
    public static final int MIN_ICONS = 1;

    public static List<String> getAllIconList(){
        List<String> iconNameList = new ArrayList<String>();
        iconNameList.add(0, "微博");
        iconNameList.add(1, "人人");
        iconNameList.add(2, "北航教务");
        iconNameList.add(3, "百度贴吧");
        iconNameList.add(4,"北京航空航天大学");
        iconNameList.add(5,"未来花园");
        iconNameList.add(6,"百度");
        iconNameList.add(7,"朝花夕拾");
        return iconNameList;
    }

    public static String getContent(String s){
        switch (s){
            case "微博":
                return "进来看看呀";
            case "人人":
                return "我知道没几个人用这个了";
            case "北航教务" :
                return "进来看看成绩怎么样";
            case "百度贴吧" :
                return "刷刷百度贴吧还是不错的";
            case "北京航空航天大学" :
                return "'德才兼备 知行合一'";
            case "未来花园" :
                return "北航后花园";
            case "百度" :
                return "百度一下 有点坑爹";
            case "朝花夕拾" :
                return "致过去的花园";
            default:
                return null;
        }
    }

    public static String getSite(String s){
        switch (s){
            case "微博":
                return "http://m.weibo.cn";
            case "人人":
                return "http://mt.renren.com";
            case "北航教务" :
                return "http://10.200.21.61:7001/ieas2.1/welcome";
            case "百度贴吧" :
                return "http://m.tieba.com";
            case "北京航空航天大学" :
                return "http://www.buaa.edu.cn/index_height.html";
            case "未来花园" :
                return "http://buaabt.cn/index.aspx";
            case "百度" :
                return "http://www.baidu.com/";
            case "朝花夕拾" :
                return "http://www.bevip.xyz/forum.php";
            default:
                return null;
        }
    }

    public static int getImageId(String s){
        switch (s){
            case "微博":
                return R.mipmap.weibo;
            case "人人":
                return R.mipmap.renren;
            case "北航教务" :
                return R.mipmap.jiaowu;
            case "百度贴吧" :
                return R.mipmap.tieba;
            case "北京航空航天大学" :
                return R.mipmap.wait;
            case "未来花园" :
                return R.mipmap.wait;
            case "百度" :
                return R.mipmap.wait;
            case "朝花夕拾" :
                return R.mipmap.wait;
            default:
                return 0;
        }
    }

    public static int getImgbtn_quick(int i){
        switch (i){
            case 0:
                return R.id.imgbtn_quick1;
            case 1:
                return R.id.imgbtn_quick2;
            case 2:
                return R.id.imgbtn_quick3;
            case 3:
                return R.id.imgbtn_quick4;
            case 4:
                return R.id.imgbtn_quick5;
            case 5:
                return R.id.imgbtn_quick6;
            case 6:
                return R.id.imgbtn_quick7;
            case 7:
                return R.id.imgbtn_add;
            default:
                return 0;
        }
    }
}
